package com.bean;  
  
import java.io.Serializable;

import javax.validation.constraints.Size;  
  
public class User implements Serializable {  
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Size(min=3)
	private String username;  
    private String sex;  
    private Integer age;  
    public User() {  
        super();  
    }  
    public String getUsername() {  
        return username;  
    }  
    public void setUsername(String username) {  
        this.username = username;  
    }  
    public String getSex() {  
        return sex;  
    }  
    public void setSex(String sex) {  
        this.sex = sex;  
    }  
    public Integer getAge() {  
        return age;  
    }  
    public void setAge(Integer age) {  
        this.age = age;  
    }  
      
}  